package com.adaxi.adc.business.passengertrip.feign.service;

import com.adaxi.adc.business.passengertrip.feign.FeignConfiguration;
import com.adaxi.adc.business.passengertrip.pojo.AdcPassenger;
import com.adaxi.adc.common.common.CommonResult;
import com.adaxi.adc.common.constant.Constants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name= Constants.ADC_PASSENGER_APPLICATION_NAME, configuration = FeignConfiguration.class)
public interface IPassengerFeignService {
    /**
     * 远程查询路线价格表
     * @param
     * @return
     */
    @GetMapping("/passenger/query/{id}")
    CommonResult<AdcPassenger> queryById1(@PathVariable("id") String id);
}

